package com.ruoyi.zsyh.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 官网新闻资讯对象 zsyh_web_article
 * 
 * @author yuexl
 * @date 2022-07-29
 */
public class ZsyhWebArticle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 官网的新闻资讯id */
    private String id;

    /** 文章主图 */
    @Excel(name = "文章主图")
    private String articleLogo;

    /** 标题 */
    @Excel(name = "标题")
    private String articleTitle;

    private String articleOutline;

    /** 内容 */
    @Excel(name = "内容")
    private String articleContent;

    /** 浏览量 */
    @Excel(name = "浏览量")
    private Long articleViews;

    /** 是否热门推荐 1是 0否 */
    @Excel(name = "是否热门推荐 1是 0否")
    private String isHot;

    /** 是否置顶 1是 0否 */
    @Excel(name = "是否置顶 1是 0否")
    private String isTop;

    /** 分类 1洗衣机，2冰箱，3热水器，4空调，5电视，6油烟机 */
    @Excel(name = "分类 1洗衣机，2冰箱，3热水器，4空调，5电视，6油烟机")
    private String artileType;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setArticleLogo(String articleLogo) 
    {
        this.articleLogo = articleLogo;
    }

    public String getArticleLogo() 
    {
        return articleLogo;
    }
    public void setArticleTitle(String articleTitle) 
    {
        this.articleTitle = articleTitle;
    }

    public String getArticleTitle() 
    {
        return articleTitle;
    }
    public void setArticleContent(String articleContent) 
    {
        this.articleContent = articleContent;
    }

    public String getArticleContent() 
    {
        return articleContent;
    }
    public void setArticleViews(Long articleViews) 
    {
        this.articleViews = articleViews;
    }

    public Long getArticleViews() 
    {
        return articleViews;
    }
    public void setIsHot(String isHot) 
    {
        this.isHot = isHot;
    }

    public String getIsHot() 
    {
        return isHot;
    }
    public void setIsTop(String isTop) 
    {
        this.isTop = isTop;
    }

    public String getIsTop() 
    {
        return isTop;
    }
    public void setArtileType(String artileType) 
    {
        this.artileType = artileType;
    }

    public String getArtileType() 
    {
        return artileType;
    }

    public String getArticleOutline() {
        return articleOutline;
    }

    public void setArticleOutline(String articleOutline) {
        this.articleOutline = articleOutline;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("articleLogo", getArticleLogo())
            .append("articleTitle", getArticleTitle())
            .append("articleContent", getArticleContent())
            .append("articleViews", getArticleViews())
            .append("isHot", getIsHot())
            .append("isTop", getIsTop())
            .append("artileType", getArtileType())
            .toString();
    }
}
